/* 放置一些各个页面都会用到的公共样式 */
* {
    margin:0;
    padding:0;
    box-sizing: border-box;
}
/* 给整个页面加上背景图 */
html,body {
    height:100%;
}
body {
    background-image: url(../image/cat2.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.nav {
    width:100%;
    height:50px;
    background-color:rgba(51,51,51,0.4);
    color:white;
    display:flex;
    align-items: center;


}
.nav img {
    width:40px;
    height:40px;
    border-radius: 50%;
    margin-left: 30px;
    margin-right: 10px;
}
.nav .spacer {
    width:70%;

}
.nav a{
    color:white;
    text-decoration: none;
    padding:0  10px;
}

.container {
    width:1000px;
    height:calc(100% - 50px);
    margin:0 auto;
    /* background-color:black; */
    display: flex;
    justify-content: space-between;
}
.container .left {
    height:100%;
    width:200px;
    /* background-color:red; */

}
.container .right {
    height:100%;
    width:795px;
    background-color:rgba(255,255,255,0.6);
    border-radius: 10px;
    /* 如果内容男，就加上一个滚动条 */
    overflow: auto;
    /* background-color:green; */
}
.card {
    background-color: rgba(255,255,255,0.6);
    border-radius: 10px;
    padding:30px;
}
.card img {
    width:140px;
    height:140px;
    border-radius: 50%;
}
.card h3 {
    text-align: center;
    padding:10px;
}
.card a {
    display:block;
    text-decoration: none;
    text-align: center;
    color: #999;
    padding: 10px;

}
.card .counter {
    display: flex;
    justify-content: space-around;
    padding: 5px;
}
